﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Snowdreamist.Windows.Navigation.Primitives;

namespace Snowdreamist.Windows.Navigation
{
    /// <summary>
    /// Navigation handler actually generate view/viewmodel by uri
    /// If Both generated, no more action will be performed
    /// If only viewmodel generated, then ViewActivation will be called in order to try to resolve view by viewmodel or uri
    /// If only view generated, no more action will be performed
    /// </summary>
    public interface INavigationHandler
    {
        /// <summary>
        /// Process request
        /// </summary>
        /// <param name="context"></param>
        void ProcessRequest(NavigationContext context);
    }
}